projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97a8ff8
)
cssprovider: Use right hash table when printing
author
Benjamin Otte
<otte@redhat.com>
Mon, 23 May 2011 05:01:14 +0000
(07:01 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 23 May 2011 13:56:09 +0000
(15:56 +0200)
If the CSS provider had widget style properties, printing them would
crash since
82b340f6f005a7d2b70d9aa7febb8612a53d0eda
gtk/gtkcssprovider.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcssprovider.c
b/gtk/gtkcssprovider.c
index 501d2839238e1074529c1e4d03f291bbdd79edef..2be10391711115030af2b04158c6c1e4fd62a5f1 100644
(file)
--- a/
gtk/gtkcssprovider.c
+++ b/
gtk/gtkcssprovider.c
@@
-3004,7
+3004,7
@@
gtk_css_ruleset_print (const GtkCssRuleset *ruleset,
for (walk = keys; walk; walk = walk->next)
{
const char *name = walk->data;
- const GValue *value = g_hash_table_lookup (ruleset->style, (gpointer) name);
+ const GValue *value = g_hash_table_lookup (ruleset->
widget_
style, (gpointer) name);
g_string_append (str, " ");
g_string_append (str, name);